<style>
    .pagination{
        padding-left: 0;
        margin: 2px 0;
        border-radius: 4px;
    }
</style>
<div class="page-content">
    <div class="col-sm-6 pull-right">
        <span class="btn btn-sm btn-primary pull-right" onclick="javascript:window.location.href = 'addp'">
            添加
            <i class="icon-reply icon-only"></i>
        </span>
    </div>
    <div class="page-header">
        <h1>
            证券值估
        </h1>
    </div><!-- /.page-header -->

    <form class="form-horizontal" role="form" action="{:url('index')}" method="post" name="myfrom">
        <div  class="form-group" >
            <label class="control-label pull-left" style="margin-left: 20px;">公司名称：</label>
            <div >
                <input type="text" class="col-xs-5 col-sm-2" value="{$name}" name="name">
            </div>
            <span class="btn btn-sm btn-primary pull-left" style="margin-left: 10px;" onclick="myfrom.submit()">
            搜素
            <i class="icon-reply icon-only"></i>
        </span>
        </div>

    </form>

    <div class="row">
        <div class="col-xs-12">
            <!-- PAGE CONTENT BEGINS -->
            <div class="row">

                <div class="col-xs-12">

                    <table id="simple-table" class="table  table-bordered table-hover" style="vertical-align:middle;">
                        <thead>
                            <tr>

                                <th class="detail-col">ID</th>
                                <th style="width: 16.5%;text-align:center; vertical-align:middle;">名称</th>
                                <th style="width: 10%;text-align:center; vertical-align:middle;">类型</th>
                                <th style="width: 10%;text-align:center; vertical-align:middle;">年份</th>
                                <th style="width: 10%;text-align:center; vertical-align:middle;">季度</th>
                                <th style="width: 10%;text-align:center; vertical-align:middle;">数据</th>
                                <th style="width: 10%;text-align:center; vertical-align:middle;">均值</th>
                                <th style="width: 10%;text-align:center; vertical-align:middle;">市场/GDP</th>
                                <th>操作</th>
                            </tr>
                        </thead>
                        <tbody>
                            {volist name="list" id="vo"}
                            <tr>
                                <td style="width: 3%;text-align:center; vertical-align:middle;">{$vo.sta_id}</td>
                                <td style="width: 16.5%;text-align:center; vertical-align:middle;">{$vo.platform_name}</td>
                                <td style="width: 10%;text-align:center; vertical-align:middle;">{$vo.platform_type}</td>
                                <td style="width: 10%;text-align:center; vertical-align:middle;">{$vo.year}</td>
                                <td style="width: 10%;text-align:center; vertical-align:middle;">{$vo.num}</td>
                                <td style="width: 10%;text-align:center; vertical-align:middle;">{$vo.val}</td>
                                <td style="width: 10%;text-align:center; vertical-align:middle;"></td>
                                <td style="width: 10%;text-align:center; vertical-align:middle;">{$cl.sum}</td>
                                <td>
                                    <a href='/admin/Statistic/updateSecurity/platform_type/{$vo.platform_type}/sta_id/{$vo.sta_id}'>
                                        <span class="btn btn-xs 3tn-info">
                                            更新
                                            <i class="icon-reply icon-only"></i>
                                        </span>
                                    </a> | 
                                    <a href='/admin/Statistic/addp/platform_type/{$vo.platform_type}/sta_id/{$vo.sta_id}'>
                                        <span class="btn btn-xs 3tn-info">
                                            编辑
                                            <i class="icon-reply icon-only"></i>
                                        </span>
                                    </a>
                                </td>
                            </tr>
                            {/volist}    
                        </tbody>
                    </table>
                   
                </div><!-- /.span -->
            </div><!-- /.row -->
           
            <!-- PAGE CONTENT ENDS -->
        </div><!-- /.col -->
    </div><!-- /.row -->
</div><!-- /.page-content -->




